package br.com.caelum.argentum.modelo;

import java.util.List;

public class SerieTemporal {
	 private final List<Candles> candles;
	 
	   public SerieTemporal(List<Candles> candles) {
	     this.candles = candles;
	   }
	 
	   public Candles getCandle(int i) {
	     return this.candles.get(i);
	   }
	   
	   public int getTotal() {
	     return this.candles.size();
	   }
}
